import Vue from 'vue'
import TrainClass from '@/components/dangjian/home/trainClass'
import personnelSelectionDialog from '@/components/dangjian/home/personnelSelectionDialog'
import addCourse from '@/components/dangjian/home/addCourse'
import selectSchool from '@/components/dangjian/home/selectSchool'
import selectTeacher from '@/components/dangjian/home/selectTeacher'
import appraiseInputDialog from '@/components/dangjian/home/appraiseInputDialog'
import answerEverydayDialog from '@/components/dangjian/home/answerEverydayDialog'
import redBirthday from '@/components/common/redBirthday'
import shareDialog from '@/components/common/shareDialog'
import shareTo from '@/components/common/shareTo'
import commentComponent from '@/components/common/commentComponent'
import videoPlayerComponent from '@/components/common/videoPlayerComponent'
import videoSlidePlayer from '@/components/common/videoSlidePlayer'
import feedbackDialog from '@/components/common/feedbackDialog'
import audioPlayer from '@/components/common/audioPlayerComponent'
import imgViewComponent from '@/components/common/imgViewComponent'
import selectGroup from '@/components/dangjian/home/selectGroup/index'

import {
  Dialog,
  createAPI
} from 'cube-ui'

Vue.use(Dialog)

// 创建 this.$createHello API
createAPI(Vue, TrainClass, [], true)
createAPI(Vue, personnelSelectionDialog, [], true)
createAPI(Vue, addCourse, [], true)
createAPI(Vue, selectSchool, [], true)
createAPI(Vue, selectTeacher, [], true)
createAPI(Vue, appraiseInputDialog, [], true)
createAPI(Vue, redBirthday, [], true)
createAPI(Vue, shareDialog, [], true)
createAPI(Vue, shareTo, [], true)
createAPI(Vue, commentComponent, [], true)
createAPI(Vue, videoPlayerComponent, [], true)
createAPI(Vue, videoSlidePlayer, [], true)
createAPI(Vue, feedbackDialog, [], true)
createAPI(Vue, audioPlayer, [], true)
createAPI(Vue, selectGroup, [], true)
createAPI(Vue, imgViewComponent, [], true)
createAPI(Vue, answerEverydayDialog, [], true) //筑学习答题弹窗
